package com.xhu.collegestudentrentalsystem.module.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * @author zhu huilin
 * @date 2023/4/9 22:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Setter
@Getter
@TableName("house_score")
public class HouseScore {
    /**
     * 主键Id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 房子id信息
     */
    private Long orderId;
    /**
     * 评分用户id
     */
    private Long userId;
    /**
     * 环境评分
     */
    private Double environment;
    /**
     * 便利性评分
     */
    private Double convenience;
    /**
     * 体验感评分
     */
    private Double feel;
    /**
     * 推荐度评分
     */
    private Double recommend;
    /**
     * 总体评分
     */
    private Double overall;
}
